/**
 * Project: common-domain
 * Created: 2016年8月4日
 * Copyright ©2011-2016 gopay Information Technology Co., LTD All Rights Reserved
**/
package com.gopay.common.domain.cbrmb.draw;

import java.io.Serializable;

/** 
 * @ClassName: CbrmbDrawManualDTO 
 * @Description: TODO(这里用一句话描述这个类的作用) 
 * @author junjie.ge 
 * @date 2016年8月4日 下午4:04:51  
 */

public class CbrmbDrawManualDTO implements Cloneable, Serializable {
    private static final long serialVersionUID = 1144282057036153630L;
    private String gopayOrderId;
    private ReviewResult result;
    private String reviewResultDescriptions;
    private String operatorId;
    
    public static enum ReviewResult {
        TO_SUCCESS("0"),TO_FAIL("1");
        private String val;
        private ReviewResult(String val) {
            this.val = val;
        }
        /**
         * @return the val
         */
        public String value() {
            return val;
        }
        public static ReviewResult getResult(String value) {
            ReviewResult target = null;
            for (int i = 0; i < ReviewResult.values().length; i++) {
                if (ReviewResult.values()[i].value().equals(value)) {
                    target = ReviewResult.values()[i];
                }
            }
            return target;
        }
    }

    
    /**
     * @return the gopayOrderId
     */
    public String getGopayOrderId() {
        return gopayOrderId;
    }

    /**
     * @param gopayOrderId the gopayOrderId to set
     */
    public void setGopayOrderId(String gopayOrderId) {
        this.gopayOrderId = gopayOrderId;
    }

    /**
     * @return the result
     */
    public ReviewResult getResult() {
        return result;
    }

    /**
     * @param result the result to set
     */
    public void setResult(ReviewResult result) {
        this.result = result;
    }

    /**
     * @return the reviewResultDescriptions
     */
    public String getReviewResultDescriptions() {
        return reviewResultDescriptions;
    }

    /**
     * @param reviewResultDescriptions the reviewResultDescriptions to set
     */
    public void setReviewResultDescriptions(String reviewResultDescriptions) {
        this.reviewResultDescriptions = reviewResultDescriptions;
    }

    /**
     * @return the operatorId
     */
    public String getOperatorId() {
        return operatorId;
    }

    /**
     * @param operatorId the operatorId to set
     */
    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }
    
}
